package com.jyw.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author system
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     * 用户缓存key
     */
    public static final String USER_CACHE_KEY = "USER_CACHE_KEY";

    /**
     * 部门缓存KEY
     */
    public static final String DEPT_CACHE_KEY = "DEPT_CACHE_KEY";

    /**
     * 小组缓存KEY
     */
    public static final String TEAM_CACHE_KEY = "TEAM_CACHE_KEY";

    /**
     * 当前坐席人员 redis key
     */
    public static final String SEAT_NOW = "SEAT_NOW";

    /**
     * 华西mos access_token key
     */
    public static final String CUSTOM_HUA_XI_MOS_ACCESS_TOKEN = "custom_hua_xi_mos_access_token";

    /**
     * 催单规则 cache key
     */
    public static final String REMINDER_RULES = "reminder_rules:";

    /**
     * 短信 cache key
     */
    public static final String SMS_CACHE_KEY = "sms_cache:";

    /**
     * 超时未派单提醒
     */
    public static final String WAIT_DELIVERY_REMIND_KEY = "wait_delivery_remind:";

    /**
     * 超时未接单提醒
     */
    public static final String WAIT_ACCEPT_REMIND_KEY = "wait_accept_remind:";

    /**
     * 超时未完成提醒
     */
    public static final String PROCESSING_REMIND_KEY = "processing_remind:";
    /**
     * 需求-超时未分配提醒
     */
    public static final String DE_WAIT_ALLOCATION_KEY = "de_wait_allocation_key";
    /**
     * 需求-任务超时未接收
     */
    public static final String DE_DEMAND_WAIT_ACCEPT_KEY = "de_demand_wait_accept:";

    /**
     * 需求-任务超时未接收
     */
    public static final String DE_TASK_WAIT_ACCEPT_KEY = "de_task_wait_accept:";

    /**
     * 需求-任务超时未完成
     */
    public static final String DE_TASK_TIME_OUT_COMPLETED_KEY = "de_task_time_out_completed:";
}
